﻿@model Scorpicore.MVC.ViewModels.AddNewTrackViewModel

@{
    ViewBag.Title = "Създайте следа";
}

<h2 class="legend-title">Остави твоята следа</h2>

@using (Html.BeginForm())
{

    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <div class="track-page-container">
        <fieldset class="form-horizontal">
            <legend class="legend-title"></legend>

            <div class="control-group">
                @Html.LabelFor(model => model.BanknoteLetters, new { @class = "control-label" })
                <div class="controls">
                    @Html.EditorFor(model => model.BanknoteLetters)
                    @Html.ValidationMessageFor(model => model.BanknoteLetters, null, new { @class = "help-inline" })
                </div>
            </div>

            <div class="control-group">
                @Html.LabelFor(model => model.BanknoteSerialNumber, new { @class = "control-label" })
                <div class="controls">
                    @Html.EditorFor(model => model.BanknoteSerialNumber)
                    @Html.ValidationMessageFor(model => model.BanknoteSerialNumber, null, new { @class = "help-inline" })
                </div>
            </div>

            <div class="control-group">
                @Html.LabelFor(model => model.Message, new { @class = "control-label" })
                <div class="controls">
                    @Html.TextAreaFor(model => model.Message)
                    @Html.ValidationMessageFor(model => model.Message, null, new { @class = "help-inline" })
                </div>
            </div>

            <div class="control-group">
                @Html.LabelFor(model => model.Denomination, "Стойност", new { @class = "control-label" })
                <div class="controls">
                    @Html.DropDownList("Denomination", new List<SelectListItem>() {
                new SelectListItem() { Text = "два лв.", Value = "два лв." },
                new SelectListItem(){Text="пет лв.",Value="пет лв."},
                new SelectListItem(){Text="десет лв.",Value="десет лв."},
                new SelectListItem(){Text="двадесет лв.",Value="двадесет лв."},
                new SelectListItem(){Text="петдесет лв.",Value="петдесет лв."},
                new SelectListItem(){Text="сто лв.",Value="сто лв."}})
                    @*@Html.ValidationMessageFor(model => model.Denomination, null, new { @class = "help-inline" })*@
                </div>
            </div>

            <div class="control-group">
                @Html.LabelFor(model => model.PlaceId, "Населено място", new { @class = "control-label" })
                <div class="controls">
                    @Html.DropDownList("PlaceId", String.Empty)
                    @Html.ValidationMessageFor(model => model.PlaceId, null, new { @class = "help-inline" })
                </div>
            </div>

            <input type="submit" class="btn-my-submit btn" value="Готово" />

        </fieldset>
    </div>
}

